import { _decorator, Component, Node } from 'cc';
import { UIBase } from './UIBase';
const { ccclass, property } = _decorator;

@ccclass('Lose')
export class Lose extends UIBase {
    oninit(...rest: any[]): void {
        this.addClickEventL("_RestartBtn",()=>{
            this.closeUI("Lose",true);
            this.openUI("Menu");
        })
    }
}


